import emButton from './button.vue';

export default {
  title: 'Example/Button',
  component: emButton,
  argTypes: {
    type: { control: { type: 'select', options: ["default", "primary", "danger"] } },
    size: { control: { type: 'select', options: ["small", "normal", "large"] } },
    text:'按钮',
    

  },
};



const Template = (args, { argTypes }) => ({
  props: Object.keys(argTypes),
  components: { emButton },
  template: '<emButton  v-bind="$props" ></emButton>',
});

export const Button = Template.bind({});